WorkbookReplace(String, String) Method
Replaces all occurrences of the specified oldText with newText in the whole
workbook. The format of the cells and the properties of all runs remain
unchanged. Formulas are not changed.
Namespace: Independentsoft.Office.SpreadsheetAssembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
public int Replace(
string oldText,
string newText
)
Public Function Replace (
oldText As String,
newText As String
) As Integer
- oldText String
- The string to replace.
- newText String
- The string that replaces oldText.
Int32The number of replaced occurrences.